body {
    background-color: #fff;
}

h4 {
    font-size: 14px;
    height: 40px;
    line-height: 40px;
}

/*结算页面*/
.pay {
    width: 990px;
    margin: 0 auto;
    background-color: #fff;
}

/*logo标题*/
.pay > .title {
    height: 50px;
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.pay > .title img {
    width: 134px;
    height: 42px;
}

.pay > .title > h3 {
    font-size: 20px;
    font-weight: normal;
}

.pay > h3 {
    height: 44px;
    line-height: 44px;
    font-size: 16px;
    font-weight: normal;
}

/*主体页面*/
.pay > main {
    border: 1px solid #f0f0f0;
    padding: 0 20px;
    box-sizing: border-box;
}

/*收货人信息板块*/
.pay > main > .content > .goods-address > .title {
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pay > main > .content > .goods-address > .title > a {
    color: #005ea7;
}

.pay > main > .content > .goods-address > .title > a:hover {
    color: red;
}

.pay > main > .content > .goods-address > div:last-child {
    height: 118px;
    border-bottom: 1px solid #cccccc;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
}

.pay > main > .content > .goods-address > div:last-child > .address {
    height: 30px;
    margin: 6px 0;
    display: flex;
    align-items: center;
}

.pay > main > .content > .goods-address > div:last-child > .address:hover {
    background-color: wheat;
}

.pay > main > .content > .goods-address > div:last-child > .address > label {
    width: 144px;
    height: 30px;
    padding: 4px 10px;
    box-sizing: border-box;
    border: 2px solid red;
    text-align: center;
}

.pay > main > .content > .goods-address > div:last-child > .address > span {
    padding-left: 10px;
    flex: 1;
}

.pay > main > .content > .goods-address > div:last-child > .address > label {
    cursor: pointer;
    background-color: #fff;
}

.pay > main > .content > .goods-address > div:last-child > span {
    padding: 5px 0;
    height: 18px;
    font-size: 12px;
}

.pay > main > .content > .goods-address > div:last-child > span i {
    font-size: 12px;
}

.pay > main > .content > .goods-address > div:last-child > .remarks {
    height: 38px;
    margin: 10px 0;
    font-size: 12px;
    display: flex;
}

.pay > main > .content > .goods-address > div:last-child > .remarks > span:first-of-type {
    width: 48px;
    height: 18px;
    background-color: #e4393c;
    color: #fff;
    border-radius: 3px;
    padding: 0 4px;
}

.pay > main > .content > .goods-address > div:last-child > .remarks > span:last-child {
    color: red;
    margin-left: 10px;
}

/*支付方式*/
.pay > main > .content > .pay-way {
    border-bottom: 1px solid #cccccc;
}

.pay > main > .content > .pay-way > div:last-child {
    padding: 0 10px 10px;
    display: flex;
    height: 30px;
    align-items: center;
}

.pay > main > .content > .pay-way > div:last-child > span:nth-child(-n+2) {
    width: 100px;
    height: 30px;
    border: 1px solid #cccccc;
    margin-right: 10px;
    padding: 5px 22px;
    box-sizing: border-box;
}

.pay > main > .content > .pay-way > div:last-child > span:nth-child(2) {
    border: 2px solid red;
}

/*送货清单*/
.pay > main > .content > .detailed-list {
    display: flex;
    flex-flow: column;
}

.pay > main > .content > .detailed-list > div:first-of-type {
    display: flex;
}

.pay > main > .content > .detailed-list > div:first-of-type div {
    width: 196px;
    margin-left: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pay > main > .content > .detailed-list > div:first-of-type div a {
    color: #005ea7;
}

.pay > main > .content > .detailed-list > .list {
    width: 948px;
    height: 300px;
    display: grid;
    grid-template-columns: 330px 616px;
    grid-template-areas: 'list-left list-right';
}

.pay > main > .content > .detailed-list > .list > .list-left {
    background-color: #F7F7F7;
    grid-area: list-left;
    padding: 10px;
}

.pay > main > .content > .detailed-list > .list > .list-left > .title {
    height: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pay > main > .content > .detailed-list > .list > .list-left > .title > span {
    color: #666666;
    font-weight: bolder;
}

.pay > main > .content > .detailed-list > .list > .list-left > .title > a span i {
    color: wheat;
    font-weight: bolder;
    margin-right: 10px;
}

.pay > main > .content > .detailed-list > .list > .list-left > .title > a span {
    color: #005ea7;
}

.pay > main > .content > .detailed-list > .list > .list-left > div:nth-child(2) {
    height: 30px;
    margin: 10px 0;
    display: flex;
}

.pay > main > .content > .detailed-list > .list > .list-left > div:nth-child(2) span {
    width: 145px;
    height: 30px;
    border: 2px solid red;
    box-sizing: border-box;
    text-align: center;
    line-height: 28px;
}

.pay > main > .content > .detailed-list > .list > .list-left > div:nth-child(3) {
    padding: 10px 0;
    border-bottom: 1px solid #cccccc;
}

.pay > main > .content > .detailed-list > .list > .list-left > div:nth-child(3) a {
    color: #005ea7;
}

.pay > main > .content > .detailed-list > .list > .list-left > div:nth-child(3) a:hover {
    color: red;
}

.pay > main > .content > .detailed-list > .list > .list-left > div:last-child {
    display: flex;
    flex-flow: column;
    padding: 10px 0;
}

.pay > main > .content > .detailed-list > .list > .list-left > div:last-child > div:first-of-type {
    height: 32px;
    line-height: 32px;
}

.pay > main > .content > .detailed-list > .list > .list-left > div:last-child > div:first-of-type span:last-child {
    margin-left: 10px;
    color: red;
}

.pay > main > .content > .detailed-list > .list > .list-left > div:last-child > div:nth-child(2) {
    color: #999999;
    padding: 10px 0;
    border-bottom: 1px solid #cccccc;
}

.pay > main > .content > .detailed-list > .list > .list-left > div:last-child > div:nth-child(2) span:last-child {
    color: #005ea7;
}

.pay > main > .content > .detailed-list > .list > .list-left > div:last-child > div:last-child {
    padding: 20px 0;
}

.pay > main > .content > .detailed-list > .list > .list-left > div:last-child > div:last-child span:first-child {
    font-weight: bolder;
}

.pay > main > .content > .detailed-list > .list > .list-left > div:last-child > div:last-child span:last-child {
    color: #999999;
}

.pay > main > .content > .detailed-list > .list > .list-right {
    grid-area: list-right;
    padding: 10px;
    display: flex;
    flex-flow: column;
    background-color: #f3fbfe;;
}

.pay > main > .content > .detailed-list > .list > .list-right > span {
    height: 24px;
    line-height: 24px;
    font-weight: bolder;
}

.pay > main > .content > .detailed-list > .list > .list-right > div:first-of-type {
    margin: 5px 0;
    display: flex;
}

.pay > main > .content > .detailed-list > .list > .list-right > div:first-of-type > span:first-of-type {
    width: 40px;
    height: 20px;
    background-color: red;
    color: white;
    text-align: center;
    margin-right: 10px;
}

.pay > main > .content > .detailed-list > .list > .list-right > div:first-of-type > span:last-child {
    font-weight: bolder;
}

.pay > main > .content > .detailed-list > .list > .list-right > div:last-of-type {
    display: flex;
}

.pay > main > .content > .detailed-list > .list > .list-right > div:last-of-type > img {
    width: 80px;
    height: 80px;
}

.pay > main > .content > .detailed-list > .list > .list-right > div:last-of-type > div:first-of-type {
    line-height: 1.5em;
    width: 242px;
    height: 80px;
}

.pay > main > .content > .detailed-list > .list > .list-right > div:last-of-type > div:first-of-type > div {
    margin-top: 10px;
}

.pay > main > .content > .detailed-list > .list > .list-right > div:last-of-type > div:first-of-type > div span:last-of-type {
    margin-left: 30px;
}

.pay > main > .content > .detailed-list > .list > .list-right > div:last-of-type > div:last-of-type {
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.pay > main > .content > .detailed-list > .list > .list-right > div:last-of-type > div:last-of-type > span:first-of-type {
    color: red;
    font-weight: bolder;
    line-height: 1.5em;
}

.pay > main > .content > .detailed-list > .list > .list-right > div:last-of-type > span:first-of-type {
    width: 70px;
    margin-left: auto;
}

/*发票信息*/
.pay > main > .content > .invoice {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #cccccc;
}

.pay > main > .content > .invoice > div:first-of-type {
    display: flex;
    height: 40px;
    align-items: center;
}

.pay > main > .content > .invoice > div:first-of-type > span {
    height: 30px;
    border: 1px solid #cccccc;
    box-shadow: 0 0 3px #cccccc;
    margin-left: 10px;
    padding: 5px 10px;
    box-sizing: border-box;
}

.pay > main > .content > .invoice > div:last-of-type {
    display: flex;
    padding: 10px 20px;
    margin-bottom: 10px;
}

.pay > main > .content > .invoice > div:last-of-type span {
    margin-right: 20px;
}

.pay > main > .content > .invoice > div:last-of-type a {
    color: #005ea7;
}

/*结算价格*/
.pay > .price {
    display: flex;
    height: 58px;
    flex-direction: column;
    justify-content: space-around;
    margin-left: auto;
    padding: 15px 20px 15px 0px;
}

.pay > .price > div {
    margin-left: auto;
    display: flex;
}

.pay > .price > div span:first-of-type {
    width: 180px;
    text-align: right;
}

.pay > .price > div span:first-of-type span {
    color: red;
}

.pay > .price > div span:last-of-type {
    width: 100px;
    text-align: right;
}

.pay > div:last-of-type {
    background-color: #F7F7F7;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-end;
    height: 80px;
    padding: 15px 20px 15px 0;
}

.pay > div:last-of-type > span:first-of-type strong {
    color: red;
    font-size: 20px;
}

.pay > span {
    height: 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    padding-right: 20px;
}

.pay > span button {
    width: 135px;
    height: 36px;
    border: none;
    background-color: red;
    color: white;
    border-radius: 3px;
}

.pay > span button:hover {
    cursor: pointer;
}